package com.dt76.smallloanbackendservice.utils;

import java.io.Serializable;

public class Result  implements Serializable {
    
    private boolean isSuccess;
    private String msg;
    
    public Result(boolean isSuccess, String msg) {
        this.isSuccess = isSuccess;
        this.msg = msg;
    }
    
    public Result() {
    }
    
    public boolean isSuccess() {
        return isSuccess;
    }
    
    public void setSuccess(boolean success) {
        isSuccess = success;
    }
    
    public String getMsg() {
        return msg;
    }
    
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
